package com.wgchao.amc.repository.autho;

import com.wgchao.amc.entity.autho.SysAuthoGroupFunc;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @作者  wgchao
 * @时间 2019-10-31 
 * @用途  
 */
@Repository
public interface SysAuthoGroupFuncRepository  extends JpaRepository<SysAuthoGroupFunc, Long>, JpaSpecificationExecutor<SysAuthoGroupFunc> {

    List<SysAuthoGroupFunc> findAllByAgId(Long agId);
}
